If the given shadow_type is none NONE, we have to remove the .flat style
class of course, not add it.
gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (frame)),
GTK_STYLE_CLASS_FLAT);
else
- gtk_style_context_add_class (gtk_widget_get_style_context (GTK_WIDGET (frame)),
- GTK_STYLE_CLASS_FLAT);
+ gtk_style_context_remove_class (gtk_widget_get_style_context (GTK_WIDGET (frame)),
+ GTK_STYLE_CLASS_FLAT);
g_object_notify_by_pspec (G_OBJECT (frame), frame_props[PROP_SHADOW_TYPE]);
}